using System;
using System.Collections.Generic;
using System.Text;
using System.Net;

namespace Pbdms.NetworkDealer.Requests
{
    /// <summary>
    /// define the format for a SearchRequest object
    /// </summary>
    [System.Xml.Serialization.XmlInclude(typeof(Common.DataObject.SearchObj))]    
    public class SearchRequest
    {
        /// <summary>
        /// ip address of the source of the request
        /// </summary>
        public String ipAddSource;
        /// <summary>
        /// ip address of the forwarder
        /// </summary>
        public String ipAddForwarder;
        /// <summary>
        /// the search object component of the request
        /// </summary>
        public Common.DataObject.SearchObj searchObj;        

        /// <summary>
        /// current hop number
        /// </summary>
        public int curHop;
        /// <summary>
        /// id of the request
        /// </summary>
        public int requestId;

        /// <summary>
        /// create an instance
        /// </summary>
        public SearchRequest() { }

    }
}
